﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Money.Plugins.Import;

namespace Money.Plugins
{
    public interface IPluginImport
    {
        string Name { get; }

        IEnumerable<Transaction> ImportedTransactions { get; }

        bool AddFile(ImportFile importFile);

        void DoImport();
        bool ValidateFile(string filename);
        string GetOriginalTransaction(long transactionNumber);
        void ImportCancelled();
        void ResetHandler();
        void ResetTransaction(Transaction current);

        void SetProgressInterface(IPluginProgress progress);
    }
}
